package com.service.wmt.impl;

import com.dao.OtherregistrationDao;
import com.dao.ServicestatusDao;
import com.entity.Otherregistration;
import com.service.wmt.PresalePermitRegistrationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class PresalePermitRegistrationServiceImpl implements PresalePermitRegistrationService {

    @Resource
    private OtherregistrationDao otherregistrationDao;
    @Resource
    private ServicestatusDao servicestatusDao;

    @Override
    public int insert(Otherregistration otherregistration) {

       int i =  otherregistrationDao.insert(otherregistration);

        return i;
    }
}
